package com.mybed.crm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mybed.crm.common.enums.HttpCodeEnum;
import com.mybed.crm.exception.BaseException;
import com.mybed.crm.mapper.RoleMapper;
import com.mybed.crm.pojo.pojo.Menu;
import com.mybed.crm.pojo.pojo.Role;
import com.mybed.crm.pojo.vo.Children;
import com.mybed.crm.pojo.vo.DeptAndChildren;
import com.mybed.crm.result.MenuResult;
import com.mybed.crm.result.Result;
import com.mybed.crm.service.MenuService;
import com.mybed.crm.service.RoleService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {


    @Override
    public MenuResult roleMenuTreeselect(Integer id) {
        return null;
    }

}
